import request from '@/utils/request'

// 查询百千万人才列表
export function listElitist(query) {
  return request({
    url: '/system/elitist/list',
    method: 'get',
    params: query
  })
}

// 查询百千万人才详细
export function getElitist(employeeId) {
  return request({
    url: '/system/elitist/' + employeeId,
    method: 'get'
  })
}

// 新增百千万人才
export function addElitist(data) {
  return request({
    url: '/system/elitist',
    method: 'post',
    data: data
  })
}

// 修改百千万人才
export function updateElitist(data) {
  return request({
    url: '/system/elitist',
    method: 'put',
    data: data
  })
}

// 删除百千万人才
export function delElitist(employeeId) {
  return request({
    url: '/system/elitist/' + employeeId,
    method: 'delete'
  })
}
